package com.fruit.pojo.goods;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.fruit.pojo.rights.UserGoodsRights;


public class RightConfig implements Serializable{
	
	private static final long serialVersionUID = 2969934824019474369L;
	private int id;
	private String name;
	private String code;
	private String state;
	private String classId;
	private String color;//颜色
	private String thumb;//ico图标
	
	private int alltotal;//总数
	
	private int total;//每种的数量
	
	private int percentage;//百分比
	
	private List<UserGoodsRights> userGoodsRights = new ArrayList<UserGoodsRights>();
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getClassId() {
		return classId;
	}
	public void setClassId(String classId) {
		this.classId = classId;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getThumb() {
		return thumb;
	}
	public void setThumb(String thumb) {
		this.thumb = thumb;
	}
	
	public List<UserGoodsRights> getUserGoodsRights() {
		return userGoodsRights;
	}
	public void setUserGoodsRights(List<UserGoodsRights> userGoodsRights) {
		this.userGoodsRights = userGoodsRights;
	}
	public int getPercentage() {
		return percentage;
	}
	public void setPercentage(int percentage) {
		this.percentage = percentage;
	}
	public int getAlltotal() {
		return alltotal;
	}
	public void setAlltotal(int alltotal) {
		this.alltotal = alltotal;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	
	
    
}
